package tech.eyao.hs60x.dto;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("手表DTO")
public class WatchDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="用户ID")
	public Long watchId;
	
	@ApiModelProperty(value="设备ID")
	public String deviceId;
	
	@ApiModelProperty(value="手机号码")
	public String phone;
	
	@ApiModelProperty(value="昵称")
	public String nickName;
	
	@ApiModelProperty(value="和手表关系名称")
	public String relationName;
	
	@ApiModelProperty(value="头像") 
	public String headUrl;
	
	@ApiModelProperty(value="性别 1：男  2：女")
	public int sex;
	
	@ApiModelProperty(value="生日")
	public long birthday;
	
	@ApiModelProperty(value="当前用户是否为手表管理员")
	public boolean isAdmin;
	
	@ApiModelProperty("账户类型(1：手机 2：设备)")
	public int accountType;
	
	@ApiModelProperty("体重")
	public int weight;
	
	@ApiModelProperty("身高")
	public int height;
	
	@ApiModelProperty(value="经度")
	public double longitude;
	
	@ApiModelProperty(value="纬度")
	public double latitude;
	
	@ApiModelProperty(value="最后更新时间")
	public long lastDate;

	@ApiModelProperty("定位类型")
	public int type;
	
	@ApiModelProperty("精度")
	public int accuracy;
	
	@ApiModelProperty("电量")
	public int electricity;
	
	@ApiModelProperty("地址1")
	public String address1;
	
	@ApiModelProperty("地址2")
	public String address2;
	
	@Override
	public String toString() {
		return "WatchDTO [watchId=" + watchId + ", phone=" + phone + ", nickName=" + nickName
				+ ", headUrl=" + headUrl + ", sex=" + sex + ", birthday=" + birthday + ", isAdmin=" + isAdmin
				+ ", accountType=" + accountType + ", weight=" + weight + ", height=" + height + "]";
	}
}
